<template>
	<view>
		<view class="top-bg">
			<text>CONTRA</text>
		</view>
		<view class="info-con">
			<view class="info">
				<view class="title">会员信息</view>
				<view class="name">
					<view>
						<text>会员姓名：</text>
						<text>小草莓</text>
					</view>
					<view>
						<text>宝贝生日：</text>
						<text>2020-02-12</text>
					</view>
					<view>
						<text>会员手机：</text>
						<text>158****8888</text>
					</view>
					<view>
						<text>所在地区：</text>
						<text>福建-福州-晋安</text>
					</view>
					<view>
						<text>签约门店：</text>
						<text>金宝贝万象里中心</text>
					</view>
				</view>
			</view>
		</view>
		<!-- 进度记录 -->
		<view class="progress">
			<view style="height: 76rpx;">
				<view class="title">
					<view class="contract-title">进度记录</view>
					<view class="yellow-line"></view>
				</view>
			</view>
			<view class="progress-con">
				<GymProgress :isActive='isActive'></GymProgress>
			</view>
		</view>
		<!-- 服务人员 -->
		<view class="progress" style="margin: 40rpx auto 80rpx;">
			<view style="height: 76rpx;">
				<view class="title">
					<view class="contract-title">服务人员</view>
					<view class="yellow-line"></view>
				</view>
			</view>
			<view class="teacher-con">
				<text>教学服务INS：amily</text>
				<text>教学服务GB：amily</text>
				<text>教学服务GA：amily</text>
				<text>教学服务GC：amily</text>
			</view>
		</view>
	</view>
</template>

<script>
	import GymProgress from '../../components/progress.vue'
	export default {
		data() {
			return {
				isActive: 1,
			}
		},
		components: {
			GymProgress
		},
		computed: {
			
		},
		onLoad() {
		
		},
		methods: {
			
		},
	}
</script>

<style lang="scss" scoped>
	.top-bg {
		height: 300rpx;
		background-color: #fedb0d;
		text-align: center;
		text {
			font-size: 152rpx;
			font-weight: 800;
			color: rgba(255, 255, 255, .2);
		}
	}
	.info-con {
		font-family: PingFangSC-Regular;
		height: 250rpx;
		position: relative;
		.info {
			position: absolute;
			left: 50%;
			top: -250rpx;
			transform: translateX(-50%);
			.title {
				font-size: 38rpx;
				color: #191919;
				font-weight: 600;
				padding: 0 0 20rpx 26rpx;
			}
			.name {
				width: 690rpx;
				// height: 400rpx;
				background-color: #fff;
				box-shadow: 0 8rpx 68rpx 0 rgba(0, 0, 0, 0.1);
				border-radius: 2rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-around;
				view {
					box-sizing: border-box;
					font-size: 30rpx;
					padding: 16rpx 40rpx;
					display: flex;
					text:nth-child(2) {
						padding-left: 6rpx;
					}
				}
				view:nth-child(1) {
					padding-top: 32rpx;
				}
				view:last-child {
					padding-bottom: 32rpx;
				}
			}
		}
	}
	.progress {
		.title {
			margin-left: 50rpx;
			font-family: PingFangSC-Semibold;
			font-size: 38rpx;
			font-weight: 600;
			color: #191919;
			position: relative;
			.yellow-line {
				width: 168rpx;
				height: 14rpx;
				background-color: #fedb0d;
				position: absolute;
				left: -6rpx;
				bottom: -52rpx;
			}
			.contract-title {
				position: absolute;
				left: 0;
				top: 0;
				z-index: 2;
			}
		}
		.progress-con,.teacher-con {
			box-sizing: border-box;
			margin: 0 auto;
			// padding: 34rpx 38rpx;
			width: 690rpx;
			background-color: #fff;
			box-shadow: 0 8rpx 68rpx 0 rgba(0, 0, 0, 0.1);
			border-radius: 2rpx;
		}
		.teacher-con {
			padding: 30rpx 40rpx;
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;
			text {
				font-family: PingFangSC-Regular;
				font-size: 30rpx;
				color: #020202;
				padding-bottom: 16rpx;
			}
			text:nth-last-child(1),text:nth-last-child(2) {
				padding-bottom: 0;
			}
		}
	}
</style>
